<?php

namespace DesignArt\Post;

use DesignArt\Support\ServiceProvider;
use DesignArt\Post\Events\EventServiceProvider;

class PostServiceProvider extends ServiceProvider
{
    /**
     * @return array
     */
    protected function getConfigurations()
    {
        $baseDir = __DIR__ . '/config/';

        return [
            [
                'file' => $baseDir.'database.php',
                'key' => 'database.connections',
            ],
        ];
    }

    /**
     * @return array
     */
    protected function getProviders()
    {
        return [
            EventServiceProvider::class,
        ];
    }

    /**
     * @return array
     */
    protected function getCommands()
    {
        return [

        ];
    }
}